Use HashMap to allow complex IDs, use find().each() for performance