A prototype for the chemosensing of Ba2+ based on self-assembling fluorescence enhancement.