select identity_id from secd.identity where identity_public_id = $1; --