Add strand ID to memory traces