use lacks_id sub to handle features without ids