Get the id for object

Require: has_object(object)

Property definitions

serialization $ SerializerCache :: id_for
	# Get the id for `object`
	#
	# Require: `has_object(object)`
	fun id_for(object: Serializable): Int
	do
		assert sent.keys.has(object)
		return sent[object]
	end
lib/serialization/caching.nit:63,2--70,4