implement Printer::id and unit test
move Instr into ir namespace
add failing (but compiling) test for Printer::append(Block*)