Implementation of TypeID in Lua

commits