I guess "wg" prefix indicates a global variable which is not the case here. Also, I'd move it to class constant and add a comment describing that that's an identifier of a WF $wgGroupPermissionsLocal variable