Use a single map with resourceType+identifier key.