The concept of secondary doping as applied to polyaniline