Context-based assignments