Inherit name attribute from original element