Custom identifiers need to support all data types. In particular searching by id fails if the identifier has `LOCALDATE` in it.