Generalize attribute selectors