Electronic structure engineering of lanthanide activated materials