Added "local" attribute to polymorphs

Now, whenever a polymorph_ptr is stored in a function table, its local
attribute should be 0. This will enable local versions of polymorphs to
be formed within function bodies, which will allow left-to-right
restriction of function options.