'Generate a default fact label
@param rfield: the S3ResourceField (alternatively the field label)
@param method: the aggregation method'

@classmethod
def default_label(cls, rfield, method):

    T = current.T
    if (hasattr(rfield, 'ftype') and (rfield.ftype == 'id') and (method == 'count')):
        field_label = T('Records')
    elif hasattr(rfield, 'label'):
        field_label = rfield.label
    else:
        field_label = rfield
    method_label = cls.METHODS.get(method)
    if (not method_label):
        method_label = method
    else:
        method_label = T(method_label)
    return ('%s    (%s)' % (field_label, method_label))
