Hello @LinOneTwo,
in the tiddlywiki core these state titles are generated by the <<qualify>> macro or <$qualify/> widget. they use a mechanism that creates a hash string based on the "transclusion variables" found through walking up the widget tree (which is something like an analogue to the html tree, but built starting with the rootwidget "at the top" [see $:/core/modules/rootwidget.js])
such a state title will not always reliably be the same
best wishes,
Simon