Let two graphs with vertices $G_1 = \{A, B, C\}$, $G_2 = \{A, D, E\}$ be unioned $\cup$.
Normally a union of these would result in the graph $G_1 \cup G_2 = \{A, B, C, D, E\}$.
However, given that all vertices hold distinct data both vertices identified by $A$ should be in the unioned graph as one of them can simply not be thrown away.
What is the most common way of dealing with this? For instance, are the identifiers changed to e.g. $G_1A$ and $G_2A$? Or is one of them discarded by some default rule? Or do you combine the data in some way?
Keep in mind, that I am looking for the most common way of solving this: What would the common mathematician do?