Added #to_key method to Location for use with Formtastic.