Store block ids and block names in reference files