normalizing id/hashname and adding link creation