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])
NsContentNameAsId : DefOrConstModifier NsContentName
                      | DefOrConstModifier NsContentName AS INDENTIFIER