What I had in mind was a tooltip for every entry, showing the parents on hover after a short delay. Not sure if this works well in practice however.
There might be better solutions, e.g. an entry in the context menu so on right-click. Maybe a Change Parent operator which initially shows a list of parents? Or would a shortcut to collapse the entire outlined hierarchy even suffice?