cycle units measurement through hotkey is it possible?
The path to use for the context Attribute is

scene.unit_settings.system


Where you find a class name of UnitSettings is shown with it's name in CamelCase, you will often find a corresponding property that represents it will use the form unit_settings with all lowercase and underscore separating words.