Always append node type to ID before emitting