merge native id on compile