An isomorphism sends a basis to a basis: injectivity preserves independence and surjectivity gives spanning. Hence isomorphic spaces have the same dimension. Scalar fields must be fixed; $\mathbb C$ has dimension one over itself but dimension two over $\mathbb R$.