'Allow users to import Spack packages using Python identifiers.
A python identifier might map to many different Spack package
names due to hyphen/underscore ambiguity.
Easy example:
num3proxy   -> 3proxy
Ambiguous:
foo_bar -> foo_bar, foo-bar
More ambiguous:
foo_bar_baz -> foo_bar_baz, foo-bar-baz, foo_bar-baz, foo-bar_baz'

def real_name(self, import_name):

    if (import_name in self):
        return import_name
    options = possible_spack_module_names(import_name)
    options.remove(import_name)
    for name in options:
        if (name in self):
            return name
    return None
