Try to save the models
Make sure the custom idAttribute is declared in the sync adapter
Updated relations and default values for models
Added functionality: save foreign keys automaticaaly based on the declared relations.
Added setAll and saveAll functions for collections