Text this: Halogen and hydrogen bonding host structures for anion recognition and ternary complexes for modulating luminescent output