parent(location, hierarchy) returns the parent location along the dimension of the specified location
parent(Location loc, Hierarchy h)