customer id validation improved