Text this: Ionic liquids as tunable refractive index fluids