Text this: Selective binding of imidazolium cations in building multi-component layers