Mode identification from line profile variations - III. Temperature variation and toroidal modes.