lua.wetgenes.chipmunk.space.type
number = space:type(name)
name = space:type(number)
Manage collision types, pass in a string and always get a number out. This number is consistent only for this space.
Alternatively pass in a number and get a string or nil as a result.