Copy url to xmlId if not already set.