Finds in a map the pattern element
Name of the pattern, used in the error message
Id of the pattern instance
Map of pattern instances by id
Finds in a map the pattern element