A general description of phosphorus containing functional groups