BaseNativeEntity id属性设置错误修正

Signed-off-by: xautlx <xautlx@hotmail.com>