Revert "Implemented assigning pids on save"

This reverts commit 2d84aab785d72a66d09393ee4ac5f02b95e49f95.