The AE86 is the 5th gen Corolla, but so is the AE82, and there are a lot of different style Corollas, especially before 1992 (for North America), so using chassis code makes sense.
Us North Americans consider the 79-86 Celica Supras to be Supras anyways, so that takes the 1st and 2nd gen...