If no slug is defined, save ID as slug so link is always a valid link
Fixes #347
Merge pull request #349 from richardhinkamp/fix-no-slug

If no slug is defined, save ID as slug so link is always a valid link