Same with this, set guid to id if id is there.