IdMap$as.list: Coerce an object or a list of compatible object
to the IdMap object or a list of IdMap objects
Description
Coerce an object or a list of compatible object
to the IdMap object or a list of IdMap objects.
The object should be inherited from matrix, data.frame, IdMap or UniquePairs,
otherwise an exception will be thrown.