Fixes gccgo serialization bug; lp-1381626

unexported type idPrefixer doesn't serialize in gccgo