I have a hanging light fixture with a "plug-in" cord with a brown and a blue wire that is to be hard wired to house wiring black and white. Is the brown hot and the blue neutral?
go get an LED voltage detector. They're less than about $20 US, and it'll light up when it gets near the hot. And won't light up near the neutral...
Brown and blue is usually hot and neutral, but in the UK. Black and white is usually hot and neutral in the US.
So where are you? And why do you have the wrong type of lamp? Or why is your house wiring wrong?