Jeremy - the Type code is derived from the Navdata database by looking up the Mode-S code transmitted by the aircraft - it doesn't transmit it itself.
The flight ID is broadcast by the aircraft along with the Mode-S code, and can be set by the aircraft crew, so they can type it, mistype it, or not bother!
Rod