def owner_id(request):
    """ Retrieve an owner_id for a request.

        :type request:
            A Klein request object.
        :param request:
            The request to authenticate.

        :return:
            A deferred that fires with either an owner_id or None if the
            request could not be authenticated.
        """
