Why an assert and not raising a `ValueError` if it looks to be incorrect id36 value?