add sign and portrait ids