code: def firstId(self) -> BaseReference:
          
          if self.childIds is not None:
              if len(self.childIds) > 0:
                  return self.childIds[0]
              return None
          else:
              raise NotImplementedError
docs: First child's id of current TextualNode