function matchesIDRef(relatedNode)
                {
                    if (relatedNode.idref !== idref)
                        return false;
                    matchingNode = relatedNode;
                    return true;
                }
@param {!AccessibilityAgent.AXRelatedNode} relatedNode
@return {boolean}