changed APIs to use identifiers instead of ids