Numeric id for a vector.

id_var(x, drop = FALSE)