How to add attribute to ion-nav-buttons

How can I add an ID to the underlying html that the ion-nav-buttons generate?
I’ve tried adding additional id and class but it all gets deleted when the buttons are rendered
Thanks