Rational design of a macrocyclic-based chemosensor for anions.