public function resolveId( $href, $link = null )
	{
		// Check the $href provided is valid
		$parts = is_array( $href ) ? $href : parse_url( $href );
		if ( ! isset( $parts['path'] ) || ! isset( $parts['fragment'] ) ) return false;

		$id = $parts['fragment'];
		$taxonomy = $this->getTaxonomyForXSD( $href );
		if ( $taxonomy === false ) return false;

		// The ID may belong to one of the elements
		$elements =& $taxonomy->getElements();
		return isset( $elements[ $id ] )
			? $elements[ $id ]
			: false;
	}