code: MetadataVersion increment() {
          String[] ids  = idents;
          String lastId = ids[ids.length - 1];
          if (isInt(lastId)) {
              int intId = Integer.parseInt(lastId);
              ids[ids.length - 1] = String.valueOf(++intId);
          } else {
              ids = Arrays.copyOf(ids, ids.length + 1);
              ids[ids.length - 1] = String.valueOf(1);
          }
          return new MetadataVersion(ids);
      }
docs: Increments the metadata version.
  
  @return a new instance of the {@code MetadataVersion} class