From http://watson-net.com/blog/magento-database-model-primary-keys/