You should generate a GUID for items and use that as an identifier, as references have never been guaranteed to be stable anyways. I basically made a component that generates a GUID and stores it, and I have an editor module that will set a GUID when dragging an actor in.