The dollar was first based on the value and look of the Spanish dollar, used widely in Spanish America from the 16th to the 19th centuries. In which century did the Spanish dollar start being used in Spanish America?