@classmethod
def get_next_id(cls):
    """
		Returns the current value of the next_id class attribute,
		and increments the next_id class attribute by 1.  Raises
		ValueError if the table does not have an ID generator
		associated with it.
		"""
    next_id = cls.next_id
    cls.next_id += 1
    return next_id
