Added getter for ID into Function, BB, Instruction