Ionic attribute android

Hi!!!
I have an Ionic application. I did build for android and now I need to test it through Appium.
After building app, I tried to inspect the apk through a tool (Appium Desktop) and I obtaine a sort of DOM with elements like android.widget.Button. some elements have a strange id, like android:id/button1: Someone knows how I can create or add, during coding phase of ionic app, this attribute or id???