support unique_id attribute