Maybe this method should work in-place (`splitUidIntoTypeAndId_br(BytesRef uid, BytesRef type, BytesRef id)`) and leave the responsibility to the caller whether or not to copy the bytes?