How to transform duplicated notes into aliases?

Quick addendum to this query…

I just heard from someone who’s helping me refine the OmniOutliner - AppleScript, and he had the following idea that might help us figure out how to transform duplicated notes from the OPML file into aliases, in Tinderbox. Here’s what he said…

We could add a unique ID to the original instance of each entry. When things get re-organized by tags and the duplicates are created, there would then be a column storing this id, which would make it easier to identify the duplicates.

There might then be some way in Tinderbox to script things, so it does the following:

• Starts looping through all entries
• Gets the id on an entry
• Checks if the id has been “seen” already
• If the id hasn’t been “seen” yet:
- Identify this entry as the “actual” entry for that id
- Record the id as having been “seen”
• If the id has been “seen”:
- Remove this entry
- Replace it with an alias of the “actual” entry

What do you think?

Thanks!