An LED is polarity sensitive, and operates at ~8-15 mA. A dropping resistor is required to limit the current to that range. On AC, the LED will light regardless of polarity because of the alternating current. It will light every half cycle appropriate to the polarity. For DC usage, polarity will need to match the supply.
In a line voltage device, 120-240 volts, the indicator is sometimes marked AC only. Sometimes a bridge rectifier is installed ahead of the LED which negates the need to align polarity. But this is a much more expensive option and usually only shows up on high end equipment. Since current is limited by the dropping resistor, the bridge can be quite small.
If the fixture is marked for voltage, use that voltage to test. Start with AC and then insert a diode (1N4002 or better) first one way then reversed to see if it is polarity sensitive. If there is no voltage listed, start with 12 volts, then 24. 24 volts is a very common control voltage for air conditioners and other domestic mechanical systems. If it doesn't light then, and only then, try 120 volts. Go to 240 only as a last resort.
The lugs of the fixture look a little funny. When trying to determine the correct connection, the center lug is usually the line side and the brass leaves are the neutral or return. This is not guaranteed, just a general perception. Using an ohmmeter to read the brass leaves, look for zero, or near zero, resistance across them. If they are connected, they are indeed the neutral. If they are separate, you're on your own.
.