safe_name = name if custom_attr doesn't need cleaning.
Fixt test
Unicode fixes... Not the best :*(