The hardware page for the Mega describes the firmware for the ATmega16U2 on the board which provides USB communication. That will lead you to the source code and Descriptors.c which contains the device identification strings.
Looks like a lot of effort and an excellent way to mess up your board if you make a mistake.