How do I set a custom button id

I have a number of button on my page. I want to assign each button a unique button ID and then use that Id to trigger a switch and case statement based on the button clicked. I understand that the button id on the button created by wix may not be the same as the button id I assign in my button statement. How do I look at the button id in wix and set a custom button id for a particular button?