Limit item name lengths Closes #4922