type this in and you can see the name of any bartender (or anything else) button name:

/script ChatFrame1:AddMessage("frame name: " .. GetMouseFocus():GetName())


just hover over the button and paste/type that into chat window and it'll spit out the name, like BT4Button25, etc