How to differentiate queues with same queue name but different folder?

We append a count to VB identifiers to ensure their uniqueness. It’s not exclusive to the UI - the expressions also use these identifiers .

So, if you have two queues with the same name, the expression will include a number corresponding to keep each instance of the queue unique.
This applies not only to the lookup panel, but we also maintain this practice within the rules This applies to all the expressionable resources in VB.

Could you help us with your use case and why same queue name and we can review from Engg side