id(1) only uses getaudit(2) from the BSM which is part of the libc