Analyte-triggered gelation: initiating self-assembly via oxidation-induced planarization.