A porphyrin-related macrocycle with an embedded 1,10-phenanthroline moiety: fluorescent magnesium(II) ion sensor.