docs: def getparent(self, profile):
          """Resolve a parent ID"""
          assert self.parent
          for inputtemplate in profile.input:
              if inputtemplate == self.parent:
                  return inputtemplate
          raise Exception("Parent InputTemplate '"+self.parent+"' not found!")