Lookup formulas currently correspond to a pet name path of length at least 2, and the value resolved thereby. We should instead create a lookup formula for each path segment, and store a reference to the parent segment formula in each child. Ideally, we should be able to synchronously retrieve existing formulas for a given pet name path, provided that the path is local to the current daemon.