The impact of cation acidity and alkyl substituents on the cation-anion interactions of 1-alkyl-2,3-dimethylimidazolium ionic liquids.