Entities have a hardcoded `@Id` type. This doesn't seem to break anything. Still, it would be cleaner to do it properly.