Structure-Antibacterial Activity Relationships of Imidazolium-Type Ionic Liquid Monomers, Poly(ionic liquids) and Poly(ionic liquid) Membranes: Effect of Alkyl Chain Length and Cations.