如果有两个选择元素,如何添加choice_value?

I have two select elements using EntityType as follows:

    ->add('calculationPeriodPatternSet', EntityType::class, [
    'class' => CalculationPeriodPatternSet::class,
    'choice_label' => 'name',
    'label' => $this->translator->trans('sla.calculationPeriodPatternSet'),
    'placeholder' => false,
    ])
    ->add('frequency', EntityType::class, [
    'class' => CalculationPeriodPatternSet::class,
    'choice_label' => 'name',
    'choice_value' => 'name',
    'label' => $this->translator->trans('sla.frequency'),
    'placeholder' => false,
    ])

For first select, I want id as option value and for second select, I want name as option value. However, if I set choice_value in second select, it gets reflected in first select as well. Also, if I set choice_value for both selects as id and name respectively, then it takes id for both the selects.

How can I set two different choice_values for two selects?