Add scope to `=` operator for named functions