auto assign id to a control