The spec describes //sensor/imu/orientation_reference_frame/grav_dir_x/[@parent_frame] as
Name of parent frame in which the grav_dir_x vector is defined. It can be any valid fully scoped Gazebo Link name or the special reserved "world" frame. If left empty, use the sensor's own local frame.
The current of pose frame semantics proposal does not include this attribute.