Since association defaults to object name, if a name is specified the source name should be applied to the destination object.
# If it's an association to or from a multiple then pluralize the name
if dest_element.get('name') is not None:
association.source_name = dest_element.get('name')
else:
...
if source_element.get('name') is not None:
association.destination_name = source_element.get('name')
else:
...```
Since association defaults to object name, if a name is specified the source name should be applied to the destination object.