Cache for subjectIds and specialtyIds (for normal working with local db)