Electrical response of a medium containing dissociable impurities