Added a guid to spans

This is to allow correct handling of closing spans when no spanId was present.