Polymerization of molten salt monomers having a phenylimidazolium group