code: def p_NsContentNameAsId(p):
      '''
      NsContentNameAsId : DefOrConstModifier NsContentName
                        | DefOrConstModifier NsContentName AS INDENTIFIER
      '''
      if len(p) <= 3:
          p[0] = NsContentNameAsId(p[1], p[2], None)
      else:
          p[0] = NsContentNameAsId(p[1], p[2], p[4]f p_NsContentNameAsId(p):
      '''
      NsContentNameAsId : DefOrConstModifier NsContentName
                        | DefOrConstModifier NsContentName AS INDENTIFIER
      '''
      if len(p) <= 3:
          p[0] = NsContentNameAsId(p[1], p[2], None)
      else:
          p[0] = NsContentNameAsId(p[1], p[2], p[4])
docs: NsContentNameAsId : DefOrConstModifier NsContentName
                        | DefOrConstModifier NsContentName AS INDENTIFIER