object::from_id should return a reference not a pointer