Fix result handling for class methods Resolve the issue where the pytest plugin failed to update the original XML file for flaky tests when the test function was inside a class. Now it properly compares and updates test results for both standalone functions and class methods. Refactor uid handling for conciseness and clarity. ROCKY-18669