Add possibility to set custom type model's id