Surely an attribute with the Name and Optional UID syntax ought to be useful for this somehow, even if I can't think of how at the moment:-)
That is, a DN optionally followed by #<bitstring> used to disambiguate several entries with the same "effective" DN. Maybe combined with an attribute with a copy of entries' entryUUID attribute, and an index on entryUUID. That's a unique ID which OpenLDAP generates for each entry, and which does not change even when the entry is renamed.
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/