A polymeric electrode for ionic surfactants