Polyelectrolyte synthesis