A Framework for Context Reasoning Systems