Change _id to be more flexible

Sometime I used to create _id field manually and it isn't be object all the time, sometime strings, integer or float may be. In order to satisfying those situation, I change a little bit.