code: def parse(self, ident_str):
          # type: (bytes) -> None
          '''
          Parse a file or text identifier out of a string.
  
          Parameters:
            ident_str  - The string to parse the file or text identifier from.
          Returns:
            Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('This File or Text identifier is already initialized')
          self.text = ident_str
  
          # FIXME: we do not support a file identifier here.  In the future, we
          # might want to implement this.
  
          self._initialized = Truf parse(self, ident_str):
          # type: (bytes) -> None
          '''
          Parse a file or text identifier out of a string.
  
          Parameters:
            ident_str  - The string to parse the file or text identifier from.
          Returns:
            Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('This File or Text identifier is already initialized')
          self.text = ident_str
  
          # FIXME: we do not support a file identifier here.  In the future, we
          # might want to implement this.
  
          self._initialized = True
docs: Parse a file or text identifier out of a string.
  
          Parameters:
            ident_str  - The string to parse the file or text identifier from.
          Returns:
            Nothing.