// Create a couple of entities and give them ids
var entity1 = new IgeEntity().id('entity1'),
entity2 = new IgeEntity().id('entity2');
// Mount entity2 to entity1
entity2.mount(entity1);
// Get the parent of entity2 (which is entity1)
var parent = entity2.parent();
// Log the parent's id (will output "entity1")
console.log(parent.id());