Bridging the crystal and solution structure of a series of lipid-inspired ionic liquids.