Added system table ids and helper functions