code: private static void initIdGenerator() {
  		String workerID = Config.WORKER_ID;
  		workerId = NumberUtils.toLong(workerID, 1);
  
  		if (workerId > MAX_WORKER_ID || workerId < 0) {
  			workerId = new Random().nextInt((int) MAX_WORKER_ID + 1);
  		}
  
  		if (dataCenterId > MAX_DATACENTER_ID || dataCenterId < 0) {
  			dataCenterId =  new Random().nextInt((int) MAX_DATACENTER_ID + 1);
  		}
  	}
docs: ///////////////////////////////////////////