Index values by id in ObjectCollection.getValue().