A green separation strategy for neodymium (III) from cobalt (II) and nickel (II) using an ionic liquid-based aqueous two-phase system.