set object.id if coming only from options