'Return the name of morf as used in report.'

def morf_name(self, morf):

    if isinstance(morf, types.ModuleType):
        return morf.__name__
    else:
        return self.relative_filename(os.path.splitext(morf)[0])
