I usually abuse this macro to figure out stuff like that:
/script DEFAULT_CHAT_FRAME:AddMessage("You are hovering over frame: " .. GetMouseFocus():GetName())
Generally the Frame Name should correspond with the button id (i know it does for BT3) and can then be used with /click macros.
edit: *cough* mixing up the order of CHAT and DEFAULT is not good ...