Add lookup_by_attribute! method and documentation.