Possibly add check if valid values for lookup to getindex (e.g.` x[1]` should fail for `@variable(m, x[10:20])`)