Check out example codes for "dom ids have numbers". It will help you in understanding the concepts better.

Code Example 1

//as long as it starts with a letter
<div id="Az1_2.3:0-9">is an acceptable dom id</div>
//and in any combination of the above.

Learn ReactJs, React Native from akashmittal.com