Added non-repeating selectors, fixed bugs

• Fixed bug where last-used case formatting would persist between
patterns
• Added ability to use strings as uniform ID's