move identity config parsing to ident.c