def METHOD_NAME(new_col_type, uid_field_name):
    import hail.ir.ir as ir
    new_row = ir.Ref('sa', new_col_type)
    if uid_field_name in new_col_type.fields:
        uid = ir.GetField(new_row, uid_field_name)
    else:
        uid = ir.NA(tint64)
    return uid, \
        ir.SelectFields(new_row, [field for field in new_col_type.fields if not field == uid_field_name])