Create a link in the index note when there's a reference, and include the persistent_id as an anchor