Refactor `Block::getBlockActionCollectionID()`

Refactor `Block::getBlockActionCollectionID()` return value.

- Return Collection object integer id if `Block::getCollectionObject()`
  return an object instead of just returning the object
- Return false if not Collection object found