implemented new features for tree path like appendId, pathStartsWithSeperator, pathEndsWithSeperator and pathHash