They're very dubious choices for document identifiers, but they used to be accepted by Search 5, and byte in particular is used as a document id in some tests from Search 5.
If it's quick and easy, let's add support for these types.