Simplified dictionary key generation.