Regarding ID's in relative layouts

Can you give me some info regarding how numeric value from an id is calculated
if it is due to hashing than does it not create problems due to overlapping sub problem
Or is there some other concept??

How xml converts the string value to numeric value isn’t something you should be concerned of because you would be never using that numeric value.