The trapping of electrons in polystyrene