You don't need the gameid for anything if you use the user interface.
[Controls]
WiimoteProfile1 = Wii Play
WiimoteProfile2 = Wii Play
WiimoteProfile3 = Wii Play
WiimoteProfile4 = Wii Play
the above will set wiimote 1 to 4 to use the controller profile "Wii Play" as long as you have saved an emulated wiimote controller profile by that name first! If you haven't saved any controller profile by that name nothing will load!
[Controls]
WiimoteProfile1 = Wii Play
WiimoteProfile2 = Wii Play
WiimoteProfile3 = Wii Play
WiimoteProfile4 = Wii Play
the above will set wiimote 1 to 4 to use the controller profile "Wii Play" as long as you have saved an emulated wiimote controller profile by that name first! If you haven't saved any controller profile by that name nothing will load!