Use core methods for finding uid and gid from names