Implemented use name instead of id for PropertyHDF5

Added test for "DuplicateName" error too