Minor cleanup of opaque-keys library

Sadly, neither is the code. In the old storage structure, the block_id must be unique within a particular category. With the new storage structure, it's unique within the entire course structure.