move type check for vectors into SymbolTable lookup