Added photo ids
Reintroduced library category name generation
refs #712
Fix unattached label in photo tile
refs #712