Spectroscopic properties of lanthanides sorbed on polymeric matrices