Returns the next free object id
The swf_nextid function returns the next available object id.
Returns the id, as an integer.