A Mechanism for Contextual Service Discovery