Improve sanitize_author

This resolve all problems reported under issue #22 so far by implementing proposal 1 from there.

This is an alternative to pull request #35.