Add identity hash support to paths.

[#58959200]