groupPath <group>
This command takes the given name of a group and returns the object path for the group, in the form "group(i)".
group(i)
To get the path for the group named "output":
lens> groupPath output group(3)