Up to 7 speeds is normally freewheel. 9 speeds and above is cassette. 8 speed can be either, especially Carreras.
As far as the kit is concerned, it doesn't care what type you had, but the number of speeds does matter. You need a freewheel motor kit for 7 speeds and less, and a cassette motor...