Base stable quaternary ammonium ionic liquids