add support for attribute selectors