Add a C++ function returning the root struct identifier in generated code
Test that file identifier is written in correct position and that function returning the identifier works.