background.id
The id property returns the permanent ID number of the specified background.
All objects except stacks have IDs. You can't change the ID number of an object.