Ionic cap run --target with name instead of ID


I want to run the app in simulator for which I am using the command

ionic cap run ios -l --external --target < ID >

However the ID keeps changing after build updates. Is it possible to open the simulator using device name instead? like

ionic cap run ios -l --external --target “iPad (10th generation)”