Let instant execution properly restore the `ClassLoaderScope` hierarchy
By exposing opaque `ClassLoaderScope` identifiers that can be used as
map keys and properly represent the scope hierarchy instead of the
scope names which don't reflect the hierarchy.