def _packName( pair ) :
    """ pack the (<namespace>,<localname>) tuple to curly bracket notation 
        {<namespace>}<localname> """ 
    if ( pair[0] is None ) : 
        return pair[1] 
    else :
        return "{%s}%s"%(pair[0],pair[1])