makeIdKey now depends of current layerId