Use modern objective-c syntax here, _categories[@(category.identifier)]]