A fluorescence turn-on sensor for iodide based on a thymine-Hg(II)-thymine complex.