Adding object id to the trivial object printer.