Text this: The Mechanism of Doping and the Features of Phase Diagrams of HTSC Cuprates and Ferropnictides.