Noether’s theorem in field theory