lets move methods to determine the parent path and node name into static methods in PHPCR utils