def entity( reference )
value = @entities.find { |entity_array|
(entity_array.size == 2 || entity_array.size == 3) && entity_array[0] == reference
}
if value
value = value[1]
else
value = DocType::DEFAULT_ENTITIES[ reference ]
value = value.value if value # This should be taken out and shotend
Text::unnormalize( value, self ) if value
end