Ensures that the ID has exactly 32 bytes
Throws "INVALID ID" otherwise.
"INVALID ID"
the id to validate