Added string hash for Unique IDs

Use std::hash to hash object/component names to get unique IDs.

Also added precomp.h to a few header files.