protected function objectComparisonStackKey($left, $right)
    {
        $ids = array(
            spl_object_hash($left),
            spl_object_hash($right)
        );
        sort($ids);

        return implode('.', $ids);
    }