I know I can get the index of the currently selected tab but can I somehow get to the ID (the equivalent of the ui.panel.id if this were triggered by an tab eve
ui.panel.id
For jQuery UI >= 1.9 you can use ui.newPanel.selector:
ui.newPanel.selector
$('#tabs').on('tabactivate', function(event, ui) { console.log(ui.newPanel.selector); });