'Create a new id.
Auto incrementing number that avoids conflicts with ids already used.
Returns:
string, a new unique id.'

def _new_id(self):

    self._last_auto_id += 1
    while (str(self._last_auto_id) in self._requests):
        self._last_auto_id += 1
    return str(self._last_auto_id)
