every vector space is known to have a basis (assuming the axiom of choice). This is attributed to Georg Hamel (http://de.wikipedia.org/wiki/Georg_Hamel). Moreover, any two bases have the same cardinality. In the finite dimensional case this is often proved by the Steinitz exchange lemma. An interesting note on the history of this lemma can be found here. In particular, the author points out that the exchange lemma isn't originally due to Steinitz but was published already by Grassmann in 1862.
However, my question is: Who has at first proved (or published a proof of) the uniqueness of dimension in the general case ?
I checked Hamel's paper (an online link to this paper is included in the wikipedia article), but he only proves the existence of a basis without discussing its cardinality.