added new setting to use numeric ids in permalinks instead of slugs, fixes #12