feature #1879: New function to check object names.
feature #1879: Check name for all pools