Unable to add ID attribute to a radio button on alertController

If a create an alertController and add the following input:

inputs: [
        {
          id: "newProject",
          type: "radio",
          label: "firstE",
          value: "1"
      }]

The only ID the element will have will be like id=“alert-input-0-0”, like a default ID.
Thank you!