Implementation of custom object id resolution.