This reverts commit afc18dcd. Stable dir id will conflict with different libraries/components, it's a bad idea.