Bugfix: save identifier in traits file.