Function
ZODB.utils.repr_to_oid

Signature

repr_to_oid(repr)