Revert "Remove broken GlobalID in lib"

This reverts commit b38a6a400ec82cff6691a72f5d41171fca8a2bdf.
Need to get globalid/railstie in