Shepherd's pie is a relatively recent term (1880s, if I recall correctly) and has, for most of that time, been used interchangeably with the older term cottage pie. The idea that shepherd's pie must be made with lamb is even more recent, and appears to be a result of folk etymology. ("Sheep are...