up #490 change type of unique dof data structure:
 - now store only entity type and global of id (unique per entity)
 - reduce memory footprint and speed up find()