Revert "use typed ids"

This reverts commit 647cb4ec3ed60fa1ba6f5a856a27db84f53278e0.
tmp