We should consume function identifier only when we are in braced list.
This fixes bug introduced in r210887 that breaks function formatting with inner
functions.
Before:
function testa(a, b) { function innera(a, b) { return a; } } function testb(a, b) { return b; }
After:
function testa(a, b) { function innera(a, b) { return a; } } function testb(a, b) { return b; }