SCHEMA-269. Fixes NPE in FormattedEntityID.toShellString()

When key materialization is disabled (hashed EntityIds) this is necessary.

Signed-off-by: Milo <milo@wibidata.com>