Added specs and functionality to parse attribute, pseudo-class and pseudo-element identifiers