Fix BlockController::$uniqueIdentifier

Fix BlockController::$uniqueIdentifier

- Change to return correct unique id from proxy block
- Refactor for clarity