Hydrated ionic liquids enable both solubilisation and refolding of aggregated concanavalin A.