attaching idAttribute, defaults, urlRoot, url, collection