return attachment_id for get_raw_post method.

Signed-off-by: TomWu <phperwuhan@gmail.com>