def _id_from_user(self, user):
        id_from_user = self.middleware.id_from_user
        try:
            return id_from_user(user)
        except __HOLE__ as e:
            raise IdentificationError(e)
dataset/ETHPy150Open MontmereLimited/django-lean/django_lean/lean_analytics/kissmetrics.py/KissMetrics._id_from_user