Dynamic ID attribute

Describe the problem.
The problem is that the ID for the input element is dynamic and only the name attribute is constant. How can I use the the name attribute instead of the id attribute?

input _ngcontent-c16="" mdinput="" name="telephone" placeholder="Phone" type="text" ui-mask="(999) 999-9999" ng-reflect-app-text-mask="[object Object]" ng-reflect-name="telephone" ng-reflect-placeholder="Phone" ng-reflect-type="text" class="ng-untouched ng-pristine ng-valid mat-input-element" id="md-input-89" aria-describedby="" ng-reflect-model="3099999999"

Here is a screen shot of what I figured out.