Influence of structural variations on imidazolium‐based ionic liquids