I now have migrated to the new Mac, using Migration Assistant.
My test file link still works. And since it does, knowing that the path and filename are different (remember my test to move the file in another folder and rename it), it implies that the ID of the file didn’t differ due to the migration. Nice!
Obviously, since the file link is made of 3 component parts (ID, path and filename), if I test a different ID (simulating it by altering its value in the link!!), Hookmark has no real information anymore about the file’s coordinates, and opens up another file.
So this is why I wanted to know and understand the circumstances under which this ID can change, since I often move and rename files (I expect especially the path to change over the lifetime of each file); I need to be cautious about what happens to my files so that their ID doesn’t change. Given this, the best, in my mind, would be if somehow, magically, all my text-based hook file links could be updated wherever they have been written to, and whenever I move or rename a file - a ludicrous proposition, an intractable requirement for a heterogeneous system of tools which Hookmark is merely tasked to integrate.
Now, thinking about this famous ID… is it just some kind of UUID created by e.g. Spotlight (a single point of failure), or is it itself created by Hookmark and made of several component parts to dynamically guide Hookmark’s heuristic capabilities? I don’t expect you to answer this question in details, but if it was the latter, and I now guess it is, then I’d feel better. I could say that these file links are not made of 3 atomic components, but in reality, of 3 components, of which the first one is itself composed of parts of which some of them can break, but some of them can be more resilient to changes, and even sometimes evolve compatibly over time as Hookmark needs and finds ways to improve its heuristic capabilities. So if I can think of this ID as a bitmap of sorts about the file, I become quite happier about Hook file links.
Whew, sorry for the ride.
Some of us are probably thinking like me about this, so it might help to put it out there like I did.