Get Custom module table values by field other than id on Magento 1x
<?php $model = Mage::getModel('modelname/modelname'); $customer_id = Mage::getModel('modelname/modelname')->load('table column value', 'table column name');; echo $customer_id = $customer_id->getData('table column name'); ?>