refactor(semantic): always use SymbolFlags::Function
for function id
#7479
+13,298
−731
SymbolFlags::Function
for function id
#7479