Fix fatally broken EntityId::newFromArray

Change-Id: I47eecf5d9ae5bcc4779492dbfdffd22bd2e93009
Merge "Fix fatally broken EntityId::newFromArray"