def METHOD_NAME(match):
    name = match.group(1)
    new_name = '%s_%d' % (name, rownum) # pylint:disable=undefined-loop-variable
    if name in self.inputsizes:
        stmt_inputsizes[new_name] = self.inputsizes[name]
    params[new_name] = row[name]
    return ':%s' % new_name