Love it or loathe it, corned beef has been an essential food for centuries. 