Ionic effects on polymers