add method to get an object directly by id (from the ids_map)