Implement createPseudo for creating new pseudo selectors.