Is there documentation that states %Id() is supposed to be available in %OnBeforeSave()?
I am currently using it in this method without issues, but one of my colleagues is stating it is not supposed to be available for a new object at this point because the object has not been saved yet.