code: @Override
    public Splittable getSerializedProxyId(final SimpleProxyId<?> stableId) {
      final AutoBean<IdMessage> bean = MessageFactoryHolder.FACTORY.id();
      final IdMessage ref = bean.as();
      ref.setServerId(stableId.getServerId());
      ref.setTypeToken(this.getRequestFactory().getTypeToken(stableId.getProxyClass()));
      if (stableId.isSynthetic()) {
        ref.setStrength(Strength.SYNTHETIC);
        ref.setSyntheticId(stableId.getSyntheticId());
      } else if (stableId.isEphemeral()) {
        ref.setStrength(Strength.EPHEMERAL);
        ref.setClientId(stableId.getClientId());
      }
      return AutoBeanCodex.encode(bean);
    }
docs: EntityCodex support.