AIE active multianalyte fluorescent probe for the detection of Cu2+, Ni2+ and Hg2+ ions.