Heterogenization of amine functionalized ionic liquid and its application as an efficient and recyclable catalyst.