Hi Reuven,
PathTail is intended to extract a component instance label from a PathName.
For the string representation of a variable, signal, constant, or even entity name, you can indeed just use simple_name.
I will update PathTail in the next revision so that it does not assume the name ends in a “:” and will return what you were expecting.
Jim