Add ability to find by a column other than subdomain

Fixes #2