raise AttributeError if __getattr__ fails