The cationic mediator comprises at least one cationic unit, i.e. hydrophilic part, that can bind to the layers of the inorganic layered material with effectively higher affinity than with an organic, and typically also hydrophobic, material, such as butyl rubber.