Seems to me that this issue has still not been resolved. Some are saying opposite sense, others are saying same sense. Some say the LOC will vary from the GS.
The ILS system is based on "depth of modulation" and instruments are designed to show deviation from the ILS centreline using this depth of modulation. If you're flying on the left of the Loc, your loc pointer will command you to fly to your relative right irrespective of which way up you are (assuming the ILS pointers are not biased out of view at large roll angles)
Inverted, if you roll to your relative right, which way does your aircraft go? Unfortunately, drawing your instrumentation on a piece of paper and inverting it would seem to suggest that if you flew towards the needle, you would fly further away from the centreline. In this respect, it's opposite sense. However, it's probably more a question of aerodynamics. If you're upside down and turn the wheel right, will you fly away from or to the Loc centreline?
Rgds.
NSEU (not a pilot)