I have found it useful to define local labels at positions where they'd get assigned to a different non-local label usually. This already works in all current NASM versions, both with actual labels and with equ. Here is an example of this:
; do something
; test something
I'd prefer this to be a documented feature so I can reliably rely on it.