Engine ID by VIN or other code?

Also look at the pan. A 318/340/273, the front/ rear pan "half moon" cutouts are same size. A 360 the rear cutout is considerably smaller