helper function to check that the length of the argument is exactly 1
check_id_length(id)
id
Either a string or a number