code: public Integer registerName(final String name) {
  		final Integer newid = Integer.valueOf(counter.incrementAndGet());
  		final Integer assigned = map.putIfAbsent(name, newid);
  		return (assigned == null ? newid : assigned);
  	}
docs: Register new type/destination
  
  @param name
  @return id of new type/destination