add span id for preferred id. cosmin/mario