Only sets id it has an actual value