(CFACT-59) Add id and gid facts

One (of two) last nitpick: generally cfacter is "opening function brace gets its own line" style.  I don't have a strong preference for either style other than for the sake of consistency.