Assuming
collection.add({id:1,object:{property:'test'}});

Usage:
* collection.find('object.property','test');
* collection.find('id',1);