Add getBy method to return model based on an indexed attribute lookup