Text this: Hierarchically structured and bifunctional core-shell rare earth nanoparticles