Recursively lookup parent hierarchy for menu