identifier can be a regexp too