Do the exception handling inside `.get_identity` so it's more explicit, instead of this grubby catch-all.