Note Id in MTStore file

Does the Note Id continually increment until it hits some maximum value and the return to zero and, does a clean of the file reset the ID counter to zero.