Correct example of using a factory function for Collection#model 

Collection#set expects the idAttribute to be present on model.prototype. If a function is provided here the user must manually add this property.