code: func newVersion(s *session) *version {
  	id := atomic.AddInt64(&s.ntVersionId, 1)
  	nv := &version{s: s, id: id - 1}
  	return nv
  }
docs: // newVersion creates a new version with an unique monotonous increasing id.