Constructs a lua object with null values and fields. Adopts attributes attr.
attr
LuaObject.nil(this.id, {this.attr});