createBlockIDs function

Create vector of integers containing block identifiers