Yes, brown is live and blue is neutral. If you get the exact same wall socket, the way you put in the wires will generally be the same. Please if this is your first time replacing, I strongly suggest you off the mains in the breaker so that you don't electrocute yourself accidentally.