Di-substituted pyridinium polymers and synthesis thereof