public function getPropertyByTagName($tagName, $highest = true)
{
$properties = $this->getPropertiesByTagName($tagName);
if (!$properties) {
throw new \InvalidArgumentException(sprintf('No property with tag "%s" exists. In structure "%s" loaded from "%s"', $tagName, $this->name, $this->resource));
}
return reset($properties);
}