'Figure out the name of the function. Will contain the module name if one exists.
Args:
data_element: Incoming data dict
Returns:
Name, with whitespace stripped out'

def create_names_from_data(self, data_element):

    function = data_element.get('function')
    dotted_name = '{}{}{}'.format(function, ('.' if function else ''), function)
    spaced_name = '{}    {}'.format(function, function)
    return (dotted_name.strip(), spaced_name.strip())
