Luminescence spectroscopy of lanthanide(III) ions in solution