make handle in attribute types unique
Merge pull request #1646 from Remo/patch-66

make handle in attribute types unique