'Format the name of *self.object*.
This normally should be something that can be parsed by the generated
directive, but doesn\'t need to be (Sphinx will display it unparsed
then).'

def format_name(self):

    return ('.'.join(self.objpath) or self.modname)
