Revert "Remove BlockID and replace it by a unique identifier."

This reverts commit 6d10d6a78fc559a2594052624d237fb09495384f.