Change EntityId::getType to be static

Compatiblity to DataValues change in I20db0907c96e4bd74eeeaa3019205f3d2af8a5ca

Change-Id: I78f67a4ed6750780eb70129b723c8aad04c84c61
Merge "Change EntityId::getType to be static"