Make use of Backbone.Model.idAttribute to set model ids.