attaching idAttribute, defaults, urlRoot, collection