Returns hash code of this Path. The hash code is calculated for the path's string representations (toString).