Classes to manage pattern matching in definition names, and substitution in attributes.