Then you have a unique key identifying each object in your data base. Now you need a reference to this object in FlexSim. Each Objects reference can be converted to an number by command tonum(thing). This is an absolute unique reference inside FlexSim.
A name can only be resolved to a reference, if each object has got an unique name in the scope of your model.
A relative path description by a string won't work in your case sufficiently, because you would have to be absolutely sure your object is still there when you evaluate the path again.
Because you control FlexSim externally, you have to store in your data base a key which stores the converted objects reference as a number. Or you will translate your own key from an external database inside FlexSim by a List. A List is not a Process Flow structure. It is a structure of the command environment of FlexSim.