Handle NULL id's for --langlist.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>