Recently a Pull Request was merged to do exactly what is being looked for.
A snapshot build (1.0.1-SNAPSHOT) will be available soon following which there will be a release build (1.0.1) asap. In the mean time you can clone the plugin and use it inline.
As part of the above PR id
is made available for onSave
event hook, but right now it is already available for logging and to enable id logging to AuditEventLog
table there is a config setting provided by the plugin as:
//Config.groovy
auditLog {
logIds = true // to log ids of objects in audit table
}