"data frame" -> ``DataFrame``

Thanks @gregcaporaso
Refactor type-checking logic in _order_dms.

Refactored logic to put TypeError at the top of the function. Thanks @wasade!
Move ID mapping code into _remap_ids.

This removes some duplicate code and allows for more informative error messages. Thanks for the suggestions @gregcaporaso and @wasade!