Obviously, the id is unique within the instance of the script but is the id unique across all scripts for the user? for the domain (for Google Apps)? or is it unique across the universe (i.e. Google)?
If the data is shared across applications, can the id be a unique reference number?
Google has confirmed it is only unique to that script:
Apps Script Office Hours Questions