(CFACT-59) Add id and gid facts

Note the sysconf call can return -1 if there's no hard limit. http://pubs.opengroup.org/onlinepubs/9699919799/functions/getpwnam.html even states it's usual for an implementation to return -1.