Document ID in text + conversion via compiler

I already posted this elsewhere, so I apologise for the double posting, but I didn’t realise there was a wish list here on the forums.

What I’d like to do is:
write my dissertation
reference a different chapter/document, i.e. “See chapter 2.1 Treasure Hunt for a more detailed…”
Be able to change the document name or position and have the above quote updated automatically.

I am using Scrivener links at the moment, and it works. It’s just awkward.

Would it be possible to add a feature where instead of having a Scrivener link (that is applied to a text - and although the link gets updated the text doesn’t), I could simply insert the ID of the document I’m pointing to and then in the Compile dialogue have a tick box saying something like “substitute document name for ID”?

Still loving Scrivener.
Cheers.