Materials and breeds now have IDs and are stored in their relevant dicts by ID rather than name. YAML loading also cleaned up a bit.