Added predicates.is_identifier().

Use function to test for valid Python identifier.