Anion sensing by fluorescence quenching or revival