Fix name escaping for some names
Implement ``__name__`` for otherwise anonymous structures