<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_next_nn_id(self):
 """Get the next nearest neighbour ID."""

        self._nn_id = self._nn_id + 1 if self._nn_id < 126 else 1
        return self._nn_id * 2