code: def generate_id(self, agreement_id, types, values):
          
          values_hash = utils.generate_multi_value_hash(types, values)
          return utils.generate_multi_value_hash(
              ['bytes32', 'address', 'bytes32'],
              [agreement_id, self.address, values_hash]
          )
docs: Generate id for the condition.
  
          :param agreement_id: id of the agreement, hex str
          :param types: list of types
          :param values: list of values
          :return: id, str