Polyaniline copolymers with solvent‐mimic side chains