Aromatic donor-acceptor charge-transfer and metal-ion-complexation-assisted folding of a synthetic polymer.