Improve enumeration constraints: stringToIds and IdsToString

Uncategorized