Text this: Comparative study of hierarchically structured and bifunctional core-shell rare earth nanoparticles