Ionic effects on synthetic polymers: from solutions to brushes and gels.