Text this: Luminescence properties of magnesium phosphate glass doped samarium