<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def key_value_pairs(self):
 """ convert list to key value pairs This should also create unique id's to allow for any dataset to be transposed, and then later manipulated r1c1,r1c2,r1c3 r2c1,r2c2,r2c3 should be converted to ID COLNUM VAL r1c1, """

        self.op_data = []
        hdrs = self.ip_data[0]
        for row in self.ip_data[1:]:
            id_col = row[0]
            for col_num, col in enumerate(row):
                self.op_data.append([id_col, hdrs[col_num], col])