Determining Rare Earth Dopant Concentrations In Optical Fibres And Waveguides