def update_id_counter(self):
if not self.__entries:<EOL><INDENT>self.__next_id = <NUM_LIT:1><EOL><DEDENT>else:<EOL><INDENT>self.__next_id = max(self.__entries.keys()) + <NUM_LIT:1><EOL><DEDENT>
Update the `id_` counter so that it doesn't grow forever.