Studies on salts of amine-containing polymers with benzoic acids