Increase performance slightly by using strings as ids.