A lab-on-a-molecule for anions in aqueous solution: using Kolbe electrolysis and radical methylation at iridium for sensing.