Tunable electronic interactions between anions and perylenediimide.