Safely set attr name on hydrate