Generic ID selector