Returns the id of the given BytesRef.
the id of the given bytes, or -1 if there is no mapping for the given bytes.
-1
the bytes to look for