function chain_id (const tt : chain_id) : chain_id is block { var toto : chain_id := get_chain_id ; } with ( toto )