JDS,
Yes, all advanced alerts have a unique AlertID on the Alerts table. For testing purposes, I setup an alert that would send me specific info about the alert. Below is what I placed in the Message field:
Alert ID number: ${SQL:Select AlertID From Alerts}
Alert Name: ${SQL:Select AlertName From Alerts}
When I test the alert that I created, I get the following message via email:
Alert ID number: 1
Alert Name: Page me when a Node goes down
As you can see, SolarWinds does accept SQL statements and uses them as variables. Someone with scripting expertise might be able to help you figure how to pass the above to your notification system.
I hope this helps.