Homopolymers or copolymers of monomers containing heterocyclic rings having nitrogen as ring member