Extract helper functions to deal with schema names.