fix(object-id): harden the duck-typing
fix(object-id): harden the duck-typing

The insufficient validation may otherwise lead to type confusions.

REF: NODE-2618
Signed-off-by: Jakob Ackermann <523ab34dedde4fb12c6a9f5bdfeed492b29dab91@overleaf.com>
mongodb/js-bson,mongodb/js-bson,mongodb/js-bson,mongodb/js-bson