Four singleton methods allow to convert layers and sub-layers string/integer IDs:
“layerStr2Int” converts a layer name to its corresponding layer integer ID.
“layerInt2Str” converts a layer integer ID to the corresponding name (String).
“subLayerStr2Int” converts a sub-layer name to its corresponding layer integer ID.
“subLayerInt2Str” converts a sub-layer integer ID to the corresponding name (String).