Layer-by-layer assembled membranes of protonated 18-azacrown-6 and polyvinylsulfate and their application for highly efficient anion separation.