-  # 1/3% chance for length of 5, 6 or 7 length string
-  STRLN=$((5 + ${RANDOM} % 3))
-  local ID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w ${STRLN} | head -n 1)
+  # 1/3 chance for length of 5, 6 or 7 length string
+  STRLN=$((5 + RANDOM % 3))
+  local ID
+  # don't nag about useless cat, this is more readable
+  # shellcheck disable=2002
+  ID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w ${STRLN} | head -n 1)