makes permalinks easy for datamapper objects