XML 42 R31.htm IDEA: XBRL DOCUMENT v3.8.0.1
Segment Information - Schedule of Segment Reporting Information By Segment (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Apr. 30, 2018
Apr. 30, 2017
Segment Reporting Information [Line Items]        
Sales to External Customers $ 298,421 $ 275,927 $ 876,352 $ 824,104
Segment Profit 44,507 37,753 127,933 112,291
Id Solutions [Member]        
Segment Reporting Information [Line Items]        
Sales to External Customers 212,154 196,880 628,291 589,106
Segment Profit 36,970 32,633 106,896 94,676
Workplace Safety [Member]        
Segment Reporting Information [Line Items]        
Sales to External Customers 86,267 79,047 248,061 234,998
Segment Profit $ 7,537 $ 5,120 $ 21,037 $ 17,615