to_hash needs the id for the account type.