A Fog-based Distributed Look-up Service for Intelligent Transportation Systems