Nanoscopic hybrid systems with a polarity-controlled gate-like scaffolding for the colorimetric signalling of long-chain carboxylates.