Generate post type labels from singular and plural names LIKE WORDPRESS SHOULD