Add LocationId to Reference and related classes