Made TypeID const and initialized it in the class declaration

Fixed a mismatched type in Mesh::GetVertex definition.