Disclosed herein is a polymer material formed from a polymeric material having a backbone containing nitrogen and one or more of sulfur and phosphorous, the polymer material further comprising at least one side chain, wherein either the at least one side chain or the backbone bears a phosphorescent dye agent.