Increment next character ID before returning, fixes #5