Fixed the generation of virtual tables to use the new format of internal generated identifiers.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>