docs: public int getLength() {
      // Alias, number of patterns
      int length = 4 + 4;
  
      if (this.identifierPatterns != null) {
        for (String identifier : this.identifierPatterns) {
          try {
            length += (4 + identifier.getBytes("UTF-16BE").length);
          } catch (UnsupportedEncodingException e) {
            log.error("Unable to encode to UTF-16BE.");
          }
        }
      }
      return length;
    }