Rework id logic, parsing from MSB to LSB.