Inherit name attribute from original element
Merge pull request #22 from ahmeij/master

Inherit name attribute from original element