remove constructed id selectors used internally for #529
fix metacharacter matching for #529