I had a feature class containging about a thousand polygons.After some processing such as intersecting, dissolving, merging, more intersecting, I ended up with a feature class of about 6000 polys. This was several months ago, and since then more data has been added/removed, attributes have changed etc.
I now need to get the feature class back to its original state. Not original as in the actual shapes from before, but where one original polygon was split into 4 polys, it must now be dissolved back into one.

One method I considered was using Spatial Join with the match option of Shares_a_line_segment_with, as all the polys which share a line segment would have originated from the same polygon. Unfortunately, the unique IDs assigned to the original polygons were 'lost' a while ago, so I cannot just dissolve the result of the spatial join based on target or join ID, as multiple polys share line segments, and they would all be joined to each other (resulting in several join and target IDs in overlapping polys).
I don't need to preserve the attribute information, I only want the original polygons back. I was thinking of using a feature selection iterator to select by location on each feature where it shares a line segment with another, populating a list with the relevant IDs and then calculating a unique ID for the group, which I could use as my dissolve field, but that seems unnecessarily complicated, and I'm sure there is something simpler I could do.

