code: public static UUID parseId(final String id) throws WarcFormatException {
  		if (! (id.startsWith(UUID_HEAD) && id.endsWith(UUID_TAIL))) throw new WarcFormatException("'" + id + "' wrong format for " + Name.WARC_RECORD_ID.value);
  		final int len = id.length();
  		UUID uuid;
  		try {
  			uuid = UUID.fromString(id.substring(UUID_HEAD_LENGTH, len - UUID_TAIL_LENGTH));
  		} catch (IllegalArgumentException e) {
  			throw new WarcFormatException("Error parsing uuid " + id, e);
  		}
  		return uuid;
  	}
docs: Parses the date found in a {@link WarcHeader.Name#WARC_RECORD_ID} header.
  
  @param id the record id.
  @return the parsed record id.