Reference class / reference data in databases