Rare-Earth Doped III-Nitrides for Optoelectronic and