code: protected void registerIfNamed(Class<?> from, Serializer<?> serializer)
  	{
  		if(from.isAnnotationPresent(Named.class))
  		{
  			Named named = from.getAnnotation(Named.class);
  			QualifiedName key = new QualifiedName(named.namespace(), named.name());
  			nameToSerializer.put(key, serializer);
  			serializerToName.put(serializer, key);
  		}
  	}
docs: Register the given serializer if it has a name.
  
  @param from
  @param serializer